Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CollectionBase<T> Class / OnRemove Method
The zero-based index at which the value can be found.
The value of the element to remove from the index.


In This Topic
    OnRemove Method (CollectionBase<T>)
    In This Topic
    Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnRemove( _
       ByVal index As Integer, _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As CollectionBase(Of T)
    Dim index As Integer
    Dim value As Object
     
    instance.OnRemove(index, value)
    protected override void OnRemove( 
       int index,
       object value
    )

    Parameters

    index
    The zero-based index at which the value can be found.
    value
    The value of the element to remove from the index.
    See Also